package com.hk.model.vo;

/**
 * @Author: zhe
 * @Date: 2021/6/15 18:04
 * @Statement: 返回JSON格式数据结果
 */
public class Result {

    private int status;
    private String message;
    private Object object;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Object getObject() {
        return object;
    }

    public void setObject(Object object) {
        this.object = object;
    }

    public Result(int status, String message) {
        this.status = status;
        this.message = message;
    }

    public Result(int status, String message, Object object) {
        this.status = status;
        this.message = message;
        this.object = object;
    }

    public Result() {

    }

    @Override
    public String toString() {
        return "Result{" +
                "status=" + status +
                ", message='" + message + '\'' +
                ", object='" + object + '\'' +
                '}';
    }
}
